package com.sservice.banfu.service ;

import com.sservice.banfu.e.Device;
import com.sservice.banfu.vo.DeviceVo;
import com.sservice.base.entity.dto.ListResult;
import com.sservice.generator.service.Service;

import java.util.List;

/**
 *
 * Created by byte_su@163.com on 2018/01/12.
 */
public interface DeviceService extends Service<Device> {
    List<Device> queryByPage(Device user);
    int queryCount(Device user);

    /**
     * 分页
     * @param user
     * @return
     */
    ListResult page(DeviceVo user);
}
